package juc.c_021_03AQS;
/*
   Talk is cheap. Show me the code.
 */

import java.util.concurrent.locks.ReentrantLock;

/**
 * @Description
 * @Date 2021/6/26
 * @Author liudl
 */
public class TestReentrantLock {
    public static void main(String[] args) {
        ReentrantLock lock = new ReentrantLock();
        lock.lock();
        try {
            System.out.println("sdf");
        }finally {
            lock.unlock();
        }
    }
}
